RetVal = object.GetLinks([LinkTemplate] [, ObjectIDs] [, LinkTypes] [, Document])
LinkTemplate |
LinkTemplate object, or a string identifying a link template; input-only; optional If specified, indicates the link template whose links are returned. |
ObjectIDs |
Variant (array of Longs); input-only; optional If specified, each long is the object ID of an AutoCAD entity whose links are to be returned. |
LinkTypes |
Integer; input-only; optional Specifies the type of links to return. You can specify any combination of the following link types: If no value is specified, all label links are returned. |
Document |
Document object; input-only; optional This argument is ignored if a LabelTemplate object is passed as the first argument. If this argument is not specified, the document object is identified as follows: |
If no arguments are specified, GetLinks returns all entity links associated with the current document.